<template>
  <div class="set-title-root">
    <iframe v-if="isShowIframe" src="./static/logo.png"></iframe>
  </div>
</template>
  
<script>
  export default {
    name: 'SetTitle',

    data () {
      return {
        isShowIframe: false
      }
    },

    computed: {},

    mounted () {},

    methods: {
      set (title) {
        window.document.title = title
        this.isShowIframe = true
        setTimeout(() => {
          this.isShowIframe = false
        }, 200)
      }
    }
  }
</script>

<style lang="stylus">
  .set-title-root
    display none
</style>
